﻿using Service.Domain.Entities;
using System;
using System.Collections.Generic;

namespace TestConsole
{
    enum TestEnum
    {
        Sort,
        Order,
        Field
    }

    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine(TestEnum.Field.ToString());
            Console.WriteLine(TestEnum.Order.ToString());
            Console.WriteLine(TestEnum.Sort.ToString());
            //using (var conn = DapperHelper.GetInstance().OpenCurrentDbConnection())
            //{
            //    var cmd = conn.CreateCommand();
            //    cmd.CommandText = @"select * from Users;";

            //    var reader = cmd.ExecuteReader();

            //    while(reader.Read())
            //    {
            //        var user = new User();
            //        user.Id = reader.GetInt32(0);
            //    }

            //    Console.WriteLine("OK");
            //}
        }
    }
}
